<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/inc/header.php';
require_once $_SERVER['DOCUMENT_ROOT'].'/amember/library/Am/Lite.php';
?>
<div class="d3-box d3-sheet">
        <div class="main_content"> 

<?php

/*
<div class="d3-box d3-sheet">
        <div class="main_content"> 
            <div class="form-login">
             <?php
                 echo Am_Lite::getInstance()->renderLoginForm(); 
                ?>
            </div>       
        </div>
</div>
*/

$loginUrl = Am_Lite::getInstance()->getLoginURL()  ;

 echo "<script> location=\"$loginUrl\" </script>";
echo "Если переход не произошел автоматически, нажмите на эту ссылку:";
 echo "<a href=\"$loginUrl\">Login</a>";
?>
</div>
</div>
<?php include_once $_SERVER['DOCUMENT_ROOT']."/inc/footer.php"; ?>